package question.d20210717.chapter03;

/**
 * @author habitplus
 * @since 2021-07-17 14:09
 */

public class CharToString {
    public static void main(String[] args) {
        char myChar = 'g';
        String myStr = Character.toString(myChar);
        System.out.println("String is: " + myStr);
        myStr = String.valueOf(myChar);
        System.out.println("String is: " + myStr);
    }
}

